package com.yiboshi.rehrs.common;

import com.yiboshi.rehrs.param.ZhongRes;

/**
 * @author jack 2021/9/29
 */
public class VarConstant {

    public static final String TASK_HOST_INFO_KEY = "TASK_HOST_INFO";
    public  static final  String FIREWALL_DINGDING = "dingding-firewall";

    public static final String APP_VERSION = "app-version";
    public static final String DX_VIP_ACCOUNT = "2153011500166";

    public static final String  enble_helper_mode = "system_helper_modes_map";

    public static String user_agent = "User-Agent";

    public static String test_env = "test";

    public static String ok_code = "A001";

    //public static String ok_code = "A001";

    public static String error_x = "X300";
    public static String error_e = "E100";


    public static ZhongRes need_update_res = new ZhongRes("E001","需要升级到最新版本");
    public static ZhongRes need_login_res = new ZhongRes("E010","登录状态失效请先登录");

    public static ZhongRes param_error = new ZhongRes("E100","参数错误");




    public static final boolean isDebug = java.lang.management.ManagementFactory.getRuntimeMXBean().
            getInputArguments().toString().indexOf("jdwp") >= 0
            || java.lang.management.ManagementFactory.getRuntimeMXBean().
            getInputArguments().toString().indexOf("address=*:*)") >= 0;


    //记录耗时
    public static String startTimeKey = "request_start_time";

    //追踪ID
    public static String trackKey = "zy_request_track_id";

    public static String SM_USER_SESSION_KEY = "SM_USER_SESSION";

    //TOKEN
    public static String Authorization = "Authorization";




}

